﻿<div class="main_hd">
    <h2>诺标回复</h2>
</div>
<div class="main_bd">
    <div class="panel panel-default">
        <div class="panel-body">
            <div class="form-inline">
                <div class="form-group">
                    <label for="condition_keyword">&nbsp;&nbsp;&nbsp;&nbsp;内容: </label>
                    <input class="form-control" type="text" ng-model="ConditionModel.searchKey" placeholder="内容" />
                </div>
                <div class="form-group">
                    <button type="button" class="btn btn-primary" ng-click="GetCommentReplyPageList()"><span class="glyphicon glyphicon-search"></span> 查 询</button>
                </div>
            </div>
        </div>
    </div>
    <div class="panel panel-default">
        <div class="panel-body">
            <table class="table table-hover table-striped table-bordered">
                <thead class="thead">
                    <tr>
                        <th >ID</th>
                        <th >ReplyContent</th>
                        <th >Tel</th>
                        <th >CreateLoginName</th>
                        <th >CreateDate</th>
                        <th style="width:150px;" ng-hide="{{type=='search'}}">
                            <button type="button" class="btn btn-warning btn-xs" ng-click="Dialog_AddCommentReply()">
                                <span class="glyphicon glyphicon-plus-sign"></span>
                                新增客户
                            </button>
                        </th>
                    </tr>
                </thead>
                <tbody>
                    <tr ng-repeat="item in CommentReplyList.PageData">
                        <td>{{item.ID}}</td>
                        <td ng-bind="item.ReplyContent"></td>
                        <td ng-bind="item.Tel" style="cursor:pointer;"></td>
                        <td ng-bind="item.CreateLoginName"></td>
                        <td ng-bind="item.CreateDate|limitTo:10"></td>
                        <td>
                            <button type="button" class="btn btn-info btn-xs" ng-click="Dialog_EditCommentReply(item)">
                                <span class="glyphicon glyphicon-edit"></span> 编辑
                            </button>
                            <button type="button" class="btn btn-danger btn-xs" ng-click="DeleteCommentReply(item)">
                                <span class="glyphicon glyphicon-remove"></span> 删除
                            </button>
                        </td>
                    </tr>
                </tbody>
                <tfoot>
                    <tr>
                        <td colspan="6">
                            <lpager pagedata="CommentReplyList" link="GetCommentReplyPageList"></lpager>
                        </td>
                    </tr>
                </tfoot>
            </table>
        </div>
    </div>
</div>